# -*- coding:utf-8 -*-
from django.contrib import admin
from django.urls import path, include
from web.views import account
from web.views import home
from web.views import project

urlpatterns = [
    path('register/', account.register, name='register'),
    path('send/sms/', account.send_sms, name='send_sms'),
    path('login/sms/', account.login_sms, name='login_sms'),
    path('login/', account.login, name='login'),
    path('image/code/', account.image_code, name='image_code'),#
    path('index/', home.index, name='index'),#路由生成图片并返回
    path('logout/', account.logout, name='logout'),

    #path('articles/<int:year>/', views.year_archive, name='news-year-archive'),
    #项目管理
    path('project/list/', project.project_list, name='project_list'),



]
